/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package tetris.controller;

import tetris.view.PanelView;
import tetris.model.Model;
import java.awt.event.ActionListener;
import java.awt.event.KeyListener;

public abstract class Controller implements ActionListener {

    protected PanelView view;
    protected Model model;


    public Controller(){
    }
    
    protected void repaintView(){
        this.view.repaint();
    }

    public void connectView(PanelView v){
        this.view = v;
    }
}
